package com.jbit.userserver.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.jbit.userserver.model.entity.UserBusiness;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserBusinessMapper extends MPJBaseMapper<UserBusiness> {
    @Select("select * from jsh_user_business where type = #{type} and key_id = #{keyId}")
    UserBusiness getByTypeAndKeyId(@Param("type") String type, @Param("keyId") Integer keyId);
}
